//
//  CLAlertView.h
//  test
//
//  Created by Phyllis Hu on 15-5-12.
//  Copyright (c) 2015年 Phyllis Hu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^alertViewBlock)();

@interface CLAlertView : UIAlertView


- (instancetype)initWithTitle:(NSString *)title message:(NSString *)message cancelButtonTitle:(NSString *)cancelButtonTitle okButtonTitles:(NSString *)otherButtonTitles cancelBlock:(alertViewBlock)cancel okBlock:(alertViewBlock)ok;
- (instancetype)initWithTitle:(NSString *)title message:(NSString *)message cancelButtonTitle:(NSString *)cancelButtonTitle oneButtonTitles:(NSString *)oneButtonTitles twoButtonTitles:(NSString *)twoButtonTitles cancelBlock:(alertViewBlock)cancel oneBlock:(alertViewBlock)oneBlock twoBlock:(alertViewBlock)twoBlock;

+ (void)showMsg:(NSString *)msg;
+ (void)hideHudAndShowMsg:(NSString *)msg;
+ (void)showTitle:(NSString *)title message:(NSString *)msg;
@end
